//题目：学习使用按位取反~。
//1.程序分析：~0=1; ~1=0;
//2.程序源代码：
#include "stdio.h"
int main() {
	int a, b;
	a = 234;
	b = ~a;
	printf("\40: The a's 1 complement(decimal) is %d \n", b);
	a = ~a;
	printf("\40: The a's 1 complement(hexidecimal) is %x \n", a);
}
